Skip to content

[5.5][Diagnostics] Fix requirement note to properly handle layout requirements #38137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 28, 2021

Cherry-pick of #38111


  • Explanation:

Layout requirement doesn't have a second type since it's always AnyObject,
requirement failure note should handle that, otherwise in no assertion builds
this would crash in diagnostic engine trying to emit the note.

Resolves: rdar://79672230
(cherry picked from commit 2b58a75)

…ents

Layout requirement doesn't have a second type since it's always `AnyObject`,
requirement failure note should handle that, otherwise in no assertion builds
this would crash in diagnostic engine trying to emit the note.

Resolves: rdar://79672230
(cherry picked from commit 2b58a75)
@xedin xedin added the r5.5 label Jun 28, 2021
@xedin xedin requested a review from a team as a code owner June 28, 2021 18:13
@xedin
Copy link
Contributor Author

xedin commented Jun 28, 2021

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 28, 2021

@swift-ci please test Windows platform

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Jun 29, 2021

@swift-ci please test Windows platform

@xedin
Copy link
Contributor Author

xedin commented Jun 29, 2021

Windows failures are unrelated to the changes in this PR.

@xedin xedin merged commit 024801c into swiftlang:release/5.5 Jun 29, 2021
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants